<?php echo $this->Form->create('User', array('action'=> 'login'));
 
echo $this->Form->input('user_name');   //text
echo $this->Form->input('password');   //password
 
echo $this->Form->submit('Login');
echo $this->Html->link(__('Sign up your account'), 'register');
echo $this->Form->end();

?>